this isnt deleting segments idfk ffmpeg -i tcp://0.0.0.0:1338?listen=1 -c:a copy -c:v copy -f ssegment -segment_list playlist.m3u8 -segment_list_flags +live -segment_time 10 -segment_list_size 12 -hls_flags delete_segments -hls_list_size 12 out%03d.ts on the client: ffmpeg -i whatever tcp://example.com:1338